Added tests for sinon's sub objects like spies, mocks and stubs