Fixed some invalid test assertions.