unit tests

1. add docs about unit tests
2. fix UTF8::trim("")