finish Test.js, rewrite router test