Wrote a unit test case for plantDataRetriever + DB update