added a bunch of tests to main()

tests are good.