Fix bug for no dependencies form within a factory check
Test against all files