Add more test for Class syntax

ref #199