Spec for missing record error catching