Merge pull request #1 from evmarkov/tests_dev

UT for Factory
Static library compilation for testruner (allows to test all functions)