fixing tests
added clone method to RandomPosition and RandomIntervalNumber