Add test command to setup.py
Skip test with missing optional dependency