Fixed broken tests around sinon stubs
Test name was incorrect
Refactored tests a bit