test with :main in GHCi