add test on Class