[Update] Reviewing this issue further, the behavior is as expected. I must clarify some important things to keep in mind in order for this to work:
Add the device ID correctly: To retrieve the properties you want to use in your expression, you must use the ID of the device, which you can obtain from the device view or directly from the URL.
Verify the key of the property you are using is exactly the one you configured previously: If the property key does not exist, it won’t work. In my case I used the name “test” for my property
You must add a variable to the expression: Please keep in mind that you are adding the property as a constant to the expression, this means you still need to add a variable for this to be a Synthetic Variable. Note: leave a space between the key and the next mathematical symbol of the expression.