Add drawChart methods to jasmine tests