added template functions declarations to generated hpp files in codec tests