Added another test of terminal state.
Adding null checks for C# interop.

Added more object-oriented tests for nulls (sigh). Added null checks
where appropriate (several are handled by library calls).
Removed unnecessary Script file and updated other Script file.