Unlike a planetary mission, a single astronomy mission can support many different kinds of scientists. JWST will study planets, exoplanets, astrobiology, cosmology, and stellar physics off the top of my head. So I think it's still worth the price tag and I'm sure the engineers are testing...