Fixing mistake in unit test