add test for next