new method to reduce verbosity and line noise in tests