use registered factories to test factories