Fix thor test

ref #1740