Jo-Wilfried Tsonga knew he'd have to work hard to reach the Marseille Open semi-finals with Australian Bernard Tomic standing in his way.