Fixed a bug in voting
Added tests for the rest of the POST options for the homepage