'test that string conversion happens in expressions before sending to filters'

def test_convert_str(self):

    t = Template('\n                                                ${x    |    trim}\n                                ')
    assert (flatten_result(t.render(x=5)) == '5')
