Various class fixes + better tests

* Tests that test behavior instead of exact translation
* Fix class expressions with newlines and getter/setter inheritance