added ] to end of output toString
merged toString fix from master
updated resource this object to provide has errors test