Add test for source in fragment spec test