Improving tests and adding formatters for rspec