ticket:1 added tests, css, modified views.py