Unit test FileHandler