DAR-1184, fix register AMD module test
DAR-1184, add window module for easier mocking in unit tests
DAR-1184, add new line to the end of file
DAR-1184, add uifactory module unit tests