Fixed bug in Query test - it wasn't actually using sqlite memory