moved mock object classes into test class
factories backed by class methods