tests: Merge BaseBackend and LocalBackend tests