Modify test for method ex5