Database test currently with functioning selection test