Tests for weak maps