Update automated tests to fix broken ones and remove ones for old API methods.