Clearer log output
Add more chunk helper function and tests