Add failing test and mocked implementations