Bug 881681 - Add reftest to assure that resize is successful. r=dzbarsky