Modify component test for rest user controller