MULE-7973: db:parameterized-query don't accepts queries from a property placeholder

Fixing template parsing
Adding missing assertions in tests