added gradient test
added poly drawing test.