I added jUnit tests for appendInPlace, but they are not passing yet