fix brittle require-tests