Skip layer-based tests inside 'setup.py test'.