Bug 1006899 - Only run the test if TypedObject is enabled. rs=nbp, a=test-only