fix reftests