Refactor lettercase endpoint to render html; revised test runner to handle post requests