fix a unit test not passing on non-x86-64 architectures