testcase for random access