added to twill test, changed host from localhost, handle case where bad argument is given to raw_image