Refactored test 'should allow an array as a dependency'. Checking for strict equality.