Unit tests and support for null objects.