test sql stuff