Test .net functions