Paranoid checks in tests