tests: add tests for platforms