Add test for registering the directory name as a module
Register a directory name as a module of the files in the directory