Added mock test that does the same as a stub test.