update of correct input and tests of module of the array