Update tests to handle file comparison

Uses relative tolerance of errinf and errL2 to compare files