add tests for thumbnail helpers; closes #3