fixed tests and db file

Now parses correctly id, however, not nice