Add test for method ex3