tests: ordertabletest and purchasetabletest