use database within test fragment