fragments + tests: fragments API unification