added tests for  ReplaceValueOpImage and FillConstantOpImage
reduced memory consumption when possible
considered integer data