added test for code format, updated docs