LPS-29962 Fix tests

It shouldn't be necessary to add the line to retrieve the assetEntries, but after debugging with @migue for a few hours with hibernate and spring sources we are not able to determine why is needed.

So, for now we commit this that fixes the test until we can find a better final solution.