The 49ers rested their starters in Thursday's preseason finale and got a strong effort from their reserves, beating the Texans 40-13 as young players vied for their NFL futures.