improved chunk test