finished tests for python version