Unit Tests For Security