Refactored all specs to RSpec 3 style
Fixed formatter errors