update path
update tests to use platform.js