Add some unit tests
Merge pull request #6 from mackerelio/introduce-rspec

Add unit tests