Added a haskell test based on thread ring benchmark