added test to verify custom attribute