updated to TS 1.0.1, added tests for remove functionality