Working on unit tests for commands.py.