specs for stubs and mocks