Added test cases for table with append and prepend.