Added request object in views.py for different apps. Also added tests directory into repo.