feature/fix-tests: upgrading to python27 api