Fix valve test