Minimize tests count by grouping assertions when possible

This allow us to speed up our unit test since we avoid heavy
operations such as database rollback