added specs for mocks
added specs for mocks