Add chunk tests; fix some broken stuff
Add gitignores