Get all fieldnames given a class
Test to get field names given a class