legislative majority test