Verilog tests with vpi routine

Changes:
1. Use vpi routines for verilog tests
2. Fix timing and compile errors of verilog tests
3. Generate the same harness regardless of the --test option