Fixed some passing issues for factory. Added a way how to deploy individ...

...ual files. Fixed deployment tests.