Allow specifying a set of tests to run on the command line.
Added new test cases.