tests: improved generatedFactory test
ContainerBuilder: Implemented automatic resolution of parameters [Closes #4]