Repaired more test bugs.

I'm trying find solutions for problems by logs. It is in npm realy
terrible.