Externalized mocks into test/mock