Although the spec is not straightforward I agree with Martin in this. There is few times clearly stated that BeanAttributes determines the bean types. So the original test makes more sense to me.