Bug 883

*Summary*
All test cases are mocked now. 

*pep8*
those issues are left on purpose;
```
./presence_analyzer/tests.py:81:80: E501 line too long (135 > 79 characters)
./presence_analyzer/utils.py:47:80: E501 line too long (81 > 79 characters)
```

*coverage*

```
Name                        Stmts   Miss  Cover   Missing
---------------------------------------------------------
presence_analyzer               9      3    67%   13-16
presence_analyzer.helpers      29      0   100%   
presence_analyzer.main          6      0   100%   
presence_analyzer.utils        22      2    91%   48-49
presence_analyzer.views        39      0   100%   
---------------------------------------------------------
TOTAL                         105      5    95%   
----------------------------------------------------------------------
Ran 13 tests in 0.508s
```