finishes factory tests