demo test code for custom security attributes