Added appendTo, prependTo, insertBefore, insertAfter.
Added test cases for appendTo, prependTo, insertBefore, insertAfter. Added one more test case to empty test.