small test refactoring

Signed-off-by: Joern Bernhardt <jb@campudus.com>