npm based test