Add some unit tests for reference image saving/loading. Fixes: https://gitlab.com/kicad/code/kicad/-/issues/16334