added test to check for bad scale (scale should be greater than 0) and added text to post test clean up if there is no thumbnail to delete