DeviceDB now works in REST service, but not in unit test