add test for issue 5 (passes)