Specs for coercing BasicObject to String
Added guard for coercing BasicObjcet into String