unit testing rmsd