Move tests in an anonymous namespace.
Added command line options to specify game type for console game.