Fixed some broken specs

Created by: jvanbaarsen

Fixed some broken specs, that have not been caught, because of the specs not running for about a week.

合并请求报告