Additional test for JENA-500 just to validate that initial bindings by substitution doesn't break when using the variable whose value is being substituted in the template portion of the query

git-svn-id: https://svn.apache.org/repos/asf/jena/trunk@1512504 13f79535-47bb-0310-9956-ffa450edef68