fix sample code error in lua5.1

when i run the sample code(see sample) in lua5.1, i get error:
template.lua:124: bad argument #1 to 'load' (function expected, got string);
[string "context=... or {}..."]:7: attempt to index global 'template' (a nil value);
then i correct the code.
sample:
local function test()
  local template = require "template";
  template.render([[
<!DOCTYPE html>
<html>
<body>
  <h1>{{message}}</h1>
</body>
</html>]], { message = "Hello, World!" })
end;
test();