Test codes while reading "parallel and concurrent programming in haskell"