Unit test for feature that allows one to list the modules inside of a file.