[PATCH resend] tapi/tests: add initial tests for lineInitialize