Update unit test to properly dispose CDatasource