command service mocked on test