[#71 WIP] add tests 

addresses #71