Refine rspec and add rspec utilities