updates layout with dropdown menu, fixes tests