Add unit test for new autoHeight option.