Add tests for invalid values for "extending" in @AutoFactory.
Merge pull request #35 from gk5885/extending-tests

Implement "extending" in @AutoFactory.