Android - improve database test