Test that enqueue() fails when strategy.size() returns NaN