Update IDeraClientTest and moving code to methods

Signed-off-by: Antonio Rojas <antonio.rojas@jalasoft.com>