add rspec test of core library
Merge pull request #3 from naoto/add_test

add rspec test of core library