added test for __clone