Fix duplicate label bug and fix test roles