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