Manually migrating some unit test stuff.
migrating tests to mnutils module