Fixing the backend test as per the PR comments.