Adjusted tests for prepared select statements

Most noteably, prepare is not const anymore