Adding tests from league/di