add a small test example for lhs, based on Haskell Wiki info