add missing tests for nanri-master fixes also docstrings added to most of tests.
add missing tests for nanri-master fixes
also docstrings added to most of tests.

NobuoK/xyzzy,NobuoK/xyzzy,NobuoK/xyzzy,NobuoK/xyzzy,NobuoK/xyzzy