reassign cases for selftests
log with sqlite error message
add selftests summary