Update sql_writer.py

Testing of data received