added test and reupdate some files