minor fixes in user testcase