fixed webtests

Fixes failing testcases after errorCode refactoring

Jenkins:
https://jenkins.catrob.at/job/Catroid-Multi-Job-Custom-Branch/1495/?auto_refresh=true