write test code

using rspec
mergerequest test and get issue test
fixes #14