Added test case for getDataAvailability