Fix the test suite after the changes made in revision 196616 exposed issues in the test suite.

We must make sure that all ValueObject objects always contain a valid target.