fixed broken integeration test