tests: remake of declarations at beginning of blocks