adds test for getUserController