Basically we need to be able to check that navigate was called on the history obj.  I would typically use sinon to test that kind of thing but didn't since sinon is not part of the project.  Was just using a deferred to track that the method was called.  It is great if you can think of a cleaner way to do it.