added a render test function to map_class does not work screen stays black