Some simple tests of the c# api classes