Refactor. Added simulated Nexting test.