[descriptor builder] add test case