Added xyz dictionary unittest.