LPS-40695

CC @ealonso and @laszlocsontos

I am really surprised about the test, looks like it is on purposely doing a wrong assert to make it pass.
If the test was really doing its job, we would see and fix this problem long time ago.

We really need to put up some rules for our tests, especially the integration tests. They are causing more bugs than they catch.