fix get_date() and repair tests which had errors due to the bug
remove unneeded instances to reset session count after update, if needed