Change str to unicode; add simple google support for test