Separation of testing context object mapper

- Separated testing context object mapper to a separate mapper class.