Added time test
fixed dumpcache problem