Refactoring of TestBenchConfiguration. Major issues solved. Tests Run fine.

Signed-off-by: Paolo Maresca <plo.maresca@gmail.com>