contexts won't do it.... but maybe you could run liquibase validate before? Or use update-testing-rollback in context b, then apply a ?
liquibase validate
b
a