Significance testing for variational assimilation