Fix for self.extractor.session.lm.database_thread.register
Using session to access lmc
Merge pull request #6 from NielsZeilemaker/test-cleanup

Test cleanup