Refactor spec task to run rspec and npm test suite