Integration test in script