fixed warnings in tests