add test function for codebox.io