Added security unit test