docs, error msgs, tests for depends_on :formula

replacing depends_on_formula in DSL