Modify tests to correct style about positionError