added connection configuration tests
improved configuration via Nette\Extension