TDD your shell scripts using RSpec