> I would be testing that ORM behaves correctly then

You would test that you have _configured_ ORM in the way you expect it. With the current kind of test you just assert that you have set some system property. If ORM changes means of controlling this feature the of test wouldn't notice.