Update path pattern for Coremetrics and add tests