written first unit test with proposed API for Moonridge mocking