test for next in future