Fix typo in tests and colateral flaws. No code changed outside of tests. Fixes #7.