#!/bin/java bsh.Interpreter

source("TestHarness.bsh");

o=object();
o.foo="bar";
try { 
	save(o, "o.ser"); 
} catch ( Exception e ) { 
	fail();
	e.printStackTrace(); 
}

o2=load("o.ser");
print(o2);
print(o2.foo);

assert( o2.foo.equals("bar") );

rm("o.ser");

complete();
