Improved DataObjectTest case. Incorrect behaviour of selecting objects with lowercase class name now produces a failed test case rather than raising an error.