Add helper getTex function
Test works now!