Tests for interface options in xml.

Use 'test.tmpdir' is better