Added a test with a fragment
Use activities by default in examples