Change test with case to value_for_platform

I don't run it, but shouldwork®
Merge pull request #3 from guilhem/patch-1

Change test with case to value_for_platform