Updating plugin unit tests for new api/obj model