testing joint table