Genericise creation of tests for each platform