check image_token
added more tests