Added a nosetest for the command line store method (and fixed something that the test caught).