Refactoring for FragmentTest @author : parasur1