small tweaks to junit code - enabled one test case for AVERAGE() and improved diagnostics in TestDate