When the type of assessment counteracts teaching for understanding