fixed formatting in testController function