Add tests for static format methods and fix some errors in README