Added tests for functions accepting/returning template-type containers.