Changed clock generation and correct fadePeriod size in testbench