Add a snap vertices method

	* Added missing tests