Tests for the second scenario.