Passed test for 6 and 7