write test cases for Q8