Rewrote remove and str; various bug fixes and style tweaks.
Added unit test suites using unittest to replace old tests.
Update readme about tests.