Added a few view tests

Added tests:
- add|edit DC device,
- add|edit BO device,
- add|edit license.
Fixed bugs:
- bad parent class in factory,
- saving coa_oem_os field.
Added new factories.