add tests
added test suite and test