TFO-tests and a small fix

Signed-off-by: Christoph Paasch <christoph.paasch@uclouvain.be>