simplified, generalized and documented judgeInjectArraySuspect
add failing tests for issue #99