get rid of warnings in tests