Ok...it is more likely to be my fault ;)
When I do:
public class XmlLifecycleTests extends ActivityUnitTestCase { ... (not in setUp)
It was indeed my fault...switching startActivity to:
startActivity
setActivity(launchActivity(pkg, actClass, null));
Solved all my problems.