add test

Signed-off-by: Clemens Burger <clemo@cbcode.at>