Plugin unit tests for api and obj model improvement