added integration tests and unit tests for the extension package