Add more test coverage for the spec cat command.