[fix] harden tests