Fix a difference beetween UI and console testing.
Merge pull request #849 from jails/bug/tests

Fix a difference beetween UI and console testing.