Updated spec helper for integration tests