test platform specific function implementation