Test controller

I tried to run these test but there are some errors. Can somebody please explain and help me with these? Thanks