Adds test for the fork counter in projects and sub projects.