[qa] Rewrite BIP65 functional tests