Added getObjects example to test program