tests: Fixing a few unit tests.
Attempting to fix travis: testeach script did not work as intended.