Add class and extends keyword testing.