Fix some issues with the test suite.

tests/test_marshal.m:
    Disable a test that's a bit too machine specific.

    Add Java and C# definitions for the foreign_type test.

tests/marshal.exp:
    Conform to the above change.