fixed tests, implemented append test.