Fixed testing on the command line.