Added spec for Scanner#to_s (closes #17).