add tests for nym_stats

In general OT API handles empty strings badly. The c++ code terminates if empty string is detected. In python tests you have no logs in this case.