Fixing the exit code when testcases need updating.
Adding missing testcase.
Merge pull request #297 from mithro/master

Fixing update-testcases and adding the thus missing test.