test for checking that previously persisted definitions are returned also after they are not active anymore