Fixed a typo in ScanTask#to_s.
Added specs for ScanTask (closes #10).