Added methods PrepAndExec and PrepAndQuery
Added tests for PrepAndExec and PrepAndQuery