Make profile markup assertions more explicit

After adding the slide-in side menu it became harder to test for the
presence of the words "Groups" and "Achievements" based on privacy
settings. Adding explicit markup to the assertions makes them more
brittle, but the disambiguation is necessary.