Added helpers for integration tests