Add backend for self-tests
harmonize with the client