fix quoting resulting in failed test even when fragments directory is not empty
fix numeric sorting, the output of find makes sort do alphanumeric sorting even if -n is provided, so calling basename with xargs is needed