Fix self-test --list formatting