update the test, it now works for M2M case