Adding some more tests for mysql relations