RSpec resize_to_fit specs

Hi,

I've added specs for resize_to_fit functionality verification. Hopefully that's just a start.

Feel free to merge if you want to.

Cheers,
Maciej