Fixing testcases issues with arrays and delta