Assessing dynamic covariate effects with survival data