fix test to account for double error