PIM-3254 : add cases in specs anr re-work phpunit