Implement indent command and add tests