Rework build_from_file wrapping test