Added test and behavior for slot factory.