Inference of descriptions and testing

Summary
Related to Tasks 22 and 24