make a separate test function for each language