Fixed bug that prevented running tests/test_platforms.py due to way in which test classes were queried.