add basic test

partially completed mocks