Replace test content with real code

Comments are not a valid means to assert function body contents due to
Esprima's simplified comment representation in the AST.