fixing tests to only work on supported platforms