added test and sourcing for platforms
merge