Add acceptance test for toy_factory