Fix assert so that tests pass on openJDK6 (bug in ArrayBlockingQueueImplementation in openJDK6)