add tests
another attempt to getString rewrite