Check for null alloc in rddatabase unit tests.