test fixes

Signed-off-by: Markus Lamm <markus Lamm@googlemail.com>