added testbench

Testbench added which tests true and false tests (compile simply in work
and simulate)
Added some functions to test vectors and signals