add the method 'data' to StringBuilder and StringBuffer
add tests for 'data' and 'appendStr'