test data field on class elements