Fixed undefined ImageValidator:: property when uploading an image during functional tests