add insert/append, functionality tests pass again