Fixed test configuration and removed warnings