add rspec test of core library

add spec.
 - :sushi: testing core library