Added database selection test