Add tests to check the model assignment for the async one-to-many and th...

The one-to-one relationship and async-one-to-many relationship seem not to be supported or will result in malfunction. I have added some tests to reconstruct the problem.

BTW, the test to check the one-to-one relationship is disabled as this test causes the other tests to hang...