Improved relative error testing