tw_cli: fix formatting when rebuilding, add test data