Fix test script on Windows

`bower install` moved to `pretest` script because `npm` on Windows not worked properly with semicolon separator.