Fixed ex6 tests