Add tests to the SimpleServerFactory

Check configuration and correct server building
Merge pull request #720 from arteam/simple_factory_test

Add tests to SimpleServerFactory