add return test, idx increase test