Factory test