Some more class-level parser tests

Added tests for classes, method declarations, while and return statements.
Review by @TehMillhouse , please
Missing `should succeedParsing()` (because this test shouldn't actually pass).