added barrier to working tests