Add a new test: get the name of the only agency.

Tests now use FileStub instead of File.