Added ex6 tests