avoid testing warnings in test