BaseTestElement: added constructor which accepts property-value map.