test util.extend and clone methods