add mocked tests