Move test.html to tests/data/
Rename method
Shorten variable name, save long line
s/action/method: unify field name