Safer integration tests