Fixes for new pcre-utils API
Updated tests