more test coverage, _getRegionOfFrame fix