testing on class