Zwiekszono pokrycie testami

https://gist.github.com/add00/cd3cdd570194064d663f#file-gistfile1-txt