This tests prepositions that always take the Dative case. Remember that there are others that often take the Dative.