Render tests

Optimization using canvas object.