Added more tests for security.