Fix node-sass API usage and tests