Fix: test function was indented & not run.

It caught a problem, made the view more robust by using .get instead of
direct POST dictionary lookup.