Reorganizes some specs into contexts
Refactors the UIComponent spec