Adding testbench environment.
Updating test script for more robustness and features
Updating test script further for more robustness.