Test class containment and stages