Push pointer forward and add tests for automatic recursive dependency generation.