Use sinon to stub method
Merge pull request #24 from alphagov/slide-test-refactor

Use sinon to stub method