added createErrorImage, fixed bug with it's how test