fixed createAlert test
fixed csrf test