added a few extra checks to the integration test, and made it possible to run it locally as well as against the amazon server