Refine tests to adapt existing reference file