Support for handleScreenLayoutChange unit testing