more tests for nstore connector and better error handling
minor improvements