Only need to check if  is a string, added unit tests for wp image sizes. Fixes #47