tests: py.test with coverage and pep8 suuport

Signed-off-by: Jiri Kuncar <jiri.kuncar@cern.ch>