removing warnings in tests