1. Bug fix: Can't create handler inside thread that has not called Looper.prepare().
2. Bug fix: test-only package cannot be installed