added remove, fixed insert bug, added new insert test and improved tests