Added test which exposes the ddt cache bug