Testing npm module and test