Fixed syntax errors

Note to self: "self.assertWhatever", not just "assertWhatever".