Fix tests in Launchpad build