Rewrite test/Linker tests to use FileCheck instead of grep.