Merge pull request #44 from yanoh/pullreq/add-test

テストの仕組み作りとテストサンプルの追加
Merge branch 'develop' of https://github.com/yanoh/r2 into develop