implemented start unit tests with mocks