fixed a unassigned signal and added a testbench (but due to missing slave implementation i2c ack error occours