XX-11166 - added tests for line rest api