test case for #limit added - picking latest value from limit