minor modification to tests to suppress warnings