adding tests of the misc module