Use karma test runner.
Split test files up.
Test history.
test shortcuts.