Testing with fragments