[Hooks] Add test cases for JSON/non-JSON specs committed to Github.
[Hooks] Only import JSON files.