Fixing npm tests and adding miss dir structure