Updated test case for direct attribute substitution.