added unit tests
Merge branch 'master' of https://github.com/kinimesi/rscore