make create_modulename private, add test