changes to associate test

so that it sends the correct data