Added item size = 0 check.
Fixed tests to more accurately measure queue behavior.
Fixed queue algorithm to properly advance virtual time.