TestProperties does not work properly at class level