(tests) made tests use setup rather than loop
made copyBuiltinEntity protected so we can overridde
(tests) refactoring codegen/hdl pass tests
(tests) added dummy task to wait for 30 cycles in RAM tests
(tests) and added another idling task just to wait 50 cycles
(tests) oops inner task needs a single clock in TestDualPortRam
(tests) updated test in arith (added output port)