Added some commandline parsing checks to the testsuite.