Added another test and updated to clear deps before reset.