Simplifies unit tests