Added tests for strings and fixed OBO error in str method