Added inout and inonly test cases