Writing test for descriptor kernel