Uses RSpec for testing.