added tests to Platform_Layer (code coverage)