Add test for $*OS deprecation