Added further unit tests for ondemandlistadapter