ticket:8 test and mock created
template changed;
tests.py - imports moved to the top of file