Added tests for get/set_str and fixed some bugs.
Merge branch 'v0.36'