Factory test added