Classes and tests for equations and assignments