Update testing case to use FileCheck instead of grep.