Running tests through npm