Bugfix: test01 data[] hard-wired to double
Improved relative error check under TEST_CONSISTENCY