Add unit tests for 'vg.accessor'.