Fixing those nasty DialogFragment tests