Added test for System.setProperties