Add unit tests for StringBuffer.
Merge pull request #184 from drewnoakes/master

Add unit tests for StringBuffer