[Backport Unit Tests] Platform/Extensions unit tests