Fix wrong test assertions.