fixed bug that prevented drl being executed. Added test to prove you can call the templated generated drl using the session