Extracted unit test support methods into a separate class so they can be
used by other tests