Fix tests

We really need to make sure tests pass on the Node environment and all major browsers before we check in code.