writing and passing test for student auto-join