maven: Make assertions more useful
By using set equality, pytest can diff both operands; whereas equality comparisons failures are harder to read.