more test code for security demo