Added tests python3 compat