added test for phase6