Fixed test to avoid class path racing conditions.