test_agencies.dart refactoring.

Assigns directory and agencyFile in the setUp() function.