[1754] Adding tests

Adding tests and *.pyc ignore
https://gist.github.com/kamilgrela/35ec218034518b219040