add a test for the chunk function