fixed invalidation tests