seperated and rewrote testcase for testcase 9