Refactoring tests. Use utility function to warn about unsimplified code in tests.