added a headerfile for the tests, also made test functions for insert, query, update