Add tests

Added support for RSpec and TDD (test-driven development!).