Better Thumbnail Action and New Test Code