added simple push device token validation

Do we have tests that cover this functionality? Or were they just removed ? 

We should make sure the both cases still work. I guess we should not delete these tests, but instead attach the installation to a variant