Builds on mock
Fails two test cases, error in one test case