Fixing one test, because an empty hash is an error as well and the
second error never triggered because of that