Updated npm dependencies and fixed code coverage