and get metadata before returning Create unittests for those two functions Turn debug log messages off by default