Extended functional tests, improved unit tests, refactored views to redirect after POST request