Refactor specs

I tried to refactor specs with json_spec matchers and other RSpec built in matchers.
Hope this can make specs easier to maintain. :smile: 
@marklarr Yes, you're right. Just pushed a new commit.