Remotebackend unix test and coverity/test based fixes