Adding define tests and cleaning up other tests.
Removing problematic platforms which won't run tests.