configuration tests. moved merge fields into class