add testcase and comments