Testing

I add a few simple tests by converting from C# tests.

All the files in `testfiles` folders are turned into test cases. Those files corresponding with failing tests will be kept in the folders for diff.

Now we have 69 tests, not bad for a start.