Add functional tests

Closes #17
Yea, that's what I was looking for :)

Does this submit thing work magically already with the csrf token?