Create failing test for factory trait