rhbz1101803 - fix TMX clear function

plus some other functional test fixes