Use system-rules in tests using system properties

This will help us to maintain easily properties accross tests.