add accompanying tests

Signed-off-by: Matthias Maier <tamiko@kyomu.43-1.org>