read.sql, not readogrsql again!

typo in function def

also add test file