Fixed CXFormAlpha.WriteTo
Added tests