Test write id in partial and full rank cases