Adaptation of /test/platforms-test.js to use /lib/platform-parser.js