modified so tests worked
added integration test suite and unit test suite