Fixed a typo that made tests not compile when running on a device