Add tests to ensure EXTEND_PROTOYPES is honored.