test for supports method in api, pep8 fixes

* Workaround for pep8 with skipIf