make sure height and width are set before validation
corrected tests and bumped version
Merge pull request #16 from BenjaminMedia/bugfixes/add_width_and_height_on_before_validation

make sure height and width are set before validation