Add JS tests for deleted post hiding