adds tests for the get_uninstalled_treatmets function
moves common logic into base class and constants
creates APIReturn mock object to simplify test config