[added] a pretty decent test suite

a few more tests to go for complete coverage