Merge pull request #576 from ndawe/master

fix regression in stl.SmartTemplate.__call__
Merge pull request #577 from ndawe/master

add stl test to protect against future regressions