added args to prepare for caching of specified databases (defaulted to megatest.db)