Updated source to use mysql, added more tests and parameterised the connection. You will need the connection file in order to connect
fixed relative imports in tests
minor fixes for problems reported by PyCharm inspections, mostly to do with docstring, file encoding declaration, etc