Test file for the history module
Rewrote in TDD approach
Added parens to satisfy jshint
Cleaned up for the linter