Moved test fixture and mocking details out of utility and into detail