Fix python empty string tests