adds class/object grammar test