input: Write a python function to simulate a process that ensures a minimum sleep of 5 seconds, accounting for any discrepancies in sleep time.
  assert time_test() >= 5
  assert time_test() < 10
output: import time
  
  def time_test():
      start_time = time.time()
      while True:
          time.sleep(5)
          elapsed_time = time.time() - start_time
          if elapsed_time >= 5:
              break
      return elapsed_time