supress warnings in testing