moving testRender out to test/js/