Fixing npm dependencies and twig testing bug