use static var to prevent screen_dims_changed test from running more than once