MULE-7440: New database: query template's parameter types are not resolv...

...ed

_ Adding small tests