basic chunk test and valid len check