Adding tests for FileException, adding new method get_time