Revised TestFragment.java