Only compare value if no key is provided
Merge pull request #661 from Philo01/bug/assertSessionHasAll-empty-value

Only compare value if no key is provided