resizer test refactored