Is this test saying that the orgSwitcher should expand out to 30px once it receives the data containing three elements each of height 10px? If so, I would expect this test to set the size, get the data and check that the resulting HTML is in fact the proper height as opposed to just that refresh was called.