Add functional test spec for frontend

I implement functional test specs to test the helpdesk frontend and fix
some bugs.