test case for syncRequest