XD-813 Fix tests
- set default test hsqldb database
- Modify context close() on few tests