-added test for custom attribute
-added example for custom attributes