Added FileHandler factory tests.