Add initial test case
Add first create user test
Move csrf setup to a seperate function
Add register user twice check
Change setUp into setUpClass and make _setup_databse only to be called once
Add check for missing param for user registration
Add login test
Add logout test
Merge branch 'master' into unittest
Add function to set as logged in