Add npm test script and suppress console output during testing