rhbz1101803 - fix TMX clear function

plus some other functional test fixes.

Release don't have this bug