add test showing bug in recursive functions found by benzrf @ #haskell