add tests for nym_stats

That is true for last two tests.
I have had information that we should create new more usable API in pyopentxs and write tests for it.