move custom matcher to spec_helper