Tests fixup

 Bug: 5113381
 Fix case of using the wrong context (BP1 would use the app context
 explicitly, bypassing the mock context)
 Clean up test databases after runs

Change-Id: Ibac09d08d4ab7235d5763c209d84be2562e6fae3
3 files changed