Add block self ref test.