Add 'npm test' script to run slider tests.