Added test to write to sqlite database
Some pep8 fixes
tmpcommit:
testSNIaFunctionality: Trying to write test to obtain LC from DB
testsncat.py: Changed it to print out the object fetched from DB.