fix test assertions.