fix warnings during tests