Testing on reusable components