deleted some container test fixtures
fixed some unsuccessful tests
implemented singleton service factory
added some tests
.