test code in m