Add Class parsing test function