Added tests.  All except (factorial 2) pass, but huge slowdown if many are uncommented at once.