add tests for nym_stats

I think the first test is still useful.