custom attribute test