Update clim_functions

adds persistence tests