now have test main
fixed minor error in cabal setup