update Resizer usage, add test