added many stats tests (including many tests for NaN generated from the NULL_TABLE stats)