test case for making sure select + update works