Update fixture
Add tests (passing) and shims for phantom
Enable npm test
Pass in switch mode buttons as option