Refactored request as js format
Adds missing template rendering test for answer