Add guard for factories
Merge branch 'tests' of github.com:smithad15/fringe_finder into tests