writing test for teacher log in