Correct failing tests

A few simple syntax misunderstandings were caught by the tests.