Fix some issues with tests

Looks like a duplicate test was added when the last few PR's were merged, causing a compile error. Just fixing that and a typo in the name of a test I added.