correct a platform-dependant test