Adjusted test code for ramp gen testing added ramp gen init function
call to main code