Add more tests on image rendering