Add fmt and test scripts