[backend] unittest fixes