Added tests to users app.