added integration tests to integration script.