Fix indentation in patch_file_tests.js
Add a PatchFile test for parsing file extensions.
Add PatchFile tests for maintaining message counts.
Fix style of search tests.