fixes #78: throws an error if module not found when requiring
fixes #78: add test cases