Fixed bug in integration tests
https://app.asana.com/0/11296477849300/15392860519729