def test_make_udf(self):
        """Test make_udf method."""
        udf = self.gw.make_udf('~/path/name')
        self.assertEqual(udf.owner_id, self.user.id)
        self.assertEqual(udf.path, '~/path/name')
        self.assertNotEqual(udf.when_created, None)
        # make sure the same UDF is created
        udf2 = self.gw.make_udf('~/path/name')
        self.assertEqual(udf.id, udf2.id)