More advanced association handling + test for resultset