Added tests

Add a test for when instructor joining but account creation goes wrong