fixed test delete join