modified render test function to take a bunch of curves as input
fixed existing test cases to use the new function
minor fix
added unit test cases for degree 1 multiple curves constant and variable width
fixed some small bugs