Fixes dependency checking of arrays
Fixes array item propagation
Adds test on simple callback support