Add smoketest for multiline text measurement