This adds a test for `platforms.Only` (previously untested, as far as I can tell). Signed-off-by: Tianon Gravi <admwiggin@gmail.com>