Added a test to verify that we only add auto-require lines once,
regardless of how many times a class is referred to.