fixed capturing in lambda
Added tests for TextRowWidget