Add tests for the new errors used by the baseContext rule option