Added some test rendering code.