add test cases for base. avoid #21 by checking only module name and ignoring package names when checking declaration.