Added named mocks which resolves #6.