Fix integration tests

- reset model namespaces after import
- delete system models on tearDown
- pass useAc parameter for SPARQL query in deleteMatchingStatements
- fix an fatal error when identity is not set