added functional test for usere