Improve registry control adding.

Renamed addControl to createControl.
Added a real addControl method.
Added and fixed tests.