add test case for getClassName