fixed example of entries_from_dir
mock astropy.units so that database reference can be generated