Fix error in backend test

The backend/util tests were passing, but the backend tests were causing a crash. I discovered that this was the reason for the crashing.