Add couple tests for factories loader