Got multi-line sql statements working and added some tests around it