added unit-tests for partial haskell solution in appropriate format