Add parse test for some 3.x "weird" class and define syntax.

The tests check class class {}, define class {}, class class inherits
default {} and similar expressions.