added integration test and build.gradle that was missed in previous commit