Hardening testcases.