local image ref test