Added test case for #6

Signed-off-by: Sebastian Hoß <mail@shoss.de>