Added testing to the cabal file
Added tests to the project
Configured setup.hs to run tests with GHC and build with GHCJS
Added testing note to cabal file