Gofmt, add first test for apply.command