render test function works