adding tests for Utilities#get_modified_time
refactoring Utilities#get_modified_time