Add tests for whitespace according to spec
Change ~str with StrBuf
Add test for newly created functions
Make test pass, move test to util.rs
Add doc for shim