Modify unit test to add security property