invalidate_* param checking, expanded tests