Added a testcase to test null data