Test codes for multiple platforms