apply some improvements from atom-rspec package