Added test for should create ticket when logged in