Added test cases for verifying reading of log file provider properties.
Moved class loading to separate private static methods.
Changed the while loop to for loop.