Add new test case for #23
Fix #23
Fix #14: Connecting to template classes now works

This also works for templates as parameters
less debug output