Fix a couple test cases to match the expected behavior
QUnit: Use equal() and deepEqual() over ok() where appropriate
Separate tests into more modules and test cases
Use QUnit setup functions
Fix a couple issues with the test and source for sortByScore()
Fix a couple failing tests
Revert "Use QUnit setup functions"

This reverts commit 3e9665f7954829279487b6f79698149d2ad8a515.